import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI); //  把elementui的组件都注册成全局组件

import VueQuillEditor from 'vue-quill-editor'

// require styles 全局的富文本编辑器组件
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor, /* { default global options } */)

// 注册全局组件
import Tang from "@/components/Tang"
Vue.component("tang", {
  render: h => h(Tang)
})



import "normalize.css"
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
